package easy;

import org.junit.Test;

public class a796_旋转字符串 {
    public boolean rotateString(String A, String B) {
        if(A.length()!=B.length()){
            return false;
        }else {
            return (A+A).contains(B);
        }
    }

    @Test
    public void test(){
        rotateString("abcde","abcde");
    }
}
